package com.gosophia.metadataEngine.entity;

/**
 * 元数据字段
 * @author zhao_yanfang
 *
 */
public class MetaDataField {

	private Long metaDataFieldId;
	private Long version;
	//字段名称
	private String colName;
	//字段中文名称
	private String fieldNameCN;
	//列长
	private Integer colWidth;
	//列类型
	private String colType;
	//列排序
	private Integer fieldOrder;
	//实体属性类型
	private String fieldType;
	//是否是超链接
	private boolean isLink;
	//显示标记,页面显示形式
	private String showFlag;
	//属性名称：实体使用的属性名
	private String privateName;
	//是否为主键
	private boolean isPk;
	//应用数据字典值
	private Long refValue;
	//字段所属表
	private MetaDataTable metaDataTable;
	
    //页面显示宽度
	private String showWidth;
	
	//显示用模板内容
	private String modelContent;
	
	//页面是否显示
	private boolean pageShow;
	
	//详细页面是否显示
	private boolean detailShow;

	public Long getVersion() {
		return version;
	}
	public void setVersion(Long version) {
		this.version = version;
	}
	
	public String getColName() {
		return colName;
	}
	public void setColName(String colName) {
		this.colName = colName;
	}
	public String getFieldNameCN() {
		return fieldNameCN;
	}
	public void setFieldNameCN(String fieldNameCN) {
		this.fieldNameCN = fieldNameCN;
	}
	public Integer getColWidth() {
		return colWidth;
	}
	public void setColWidth(Integer colWidth) {
		this.colWidth = colWidth;
	}
	public Integer getFieldOrder() {
		return fieldOrder;
	}
	public void setFieldOrder(Integer fieldOrder) {
		this.fieldOrder = fieldOrder;
	}
	public String getFieldType() {
		return fieldType;
	}
	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}
	public boolean getIsLink() {
		return isLink;
	}
	public void setIsLink(boolean isLink) {
		this.isLink = isLink;
	}
	public String getPrivateName() {
		return privateName;
	}
	public void setPrivateName(String privateName) {
		this.privateName = privateName;
	}
    public MetaDataTable getMetaDataTable() {
        return metaDataTable;
    }
    public void setMetaDataTable(MetaDataTable metaDataTable) {
        this.metaDataTable = metaDataTable;
    }
    public boolean getIsPk() {
		return isPk;
	}
	public void setIsPk(boolean isPk) {
		this.isPk = isPk;
	}
	public Long getRefValue() {
        return refValue;
    }
    public void setRefValue(Long refValue) {
        this.refValue = refValue;
    }
    public String getShowFlag() {
        return showFlag;
    }
    public void setShowFlag(String showFlag) {
        this.showFlag = showFlag;
    }
    public Long getMetaDataFieldId() {
        return metaDataFieldId;
    }
    public void setMetaDataFieldId(Long metaDataFieldId) {
        this.metaDataFieldId = metaDataFieldId;
    }
	public String getShowWidth() {
		return showWidth;
	}
	public void setShowWidth(String showWidth) {
		this.showWidth = showWidth;
	}

	public String getModelContent() {
		return modelContent;
	}

	public void setModelContent(String modelContent) {
		this.modelContent = modelContent;
	}
	public boolean getPageShow() {
		return pageShow;
	}
	public void setPageShow(boolean pageShow) {
		this.pageShow = pageShow;
	}
	public boolean getDetailShow() {
		return detailShow;
	}
	public void setDetailShow(boolean detailShow) {
		this.detailShow = detailShow;
	}
	public String getColType() {
		return colType;
	}
	public void setColType(String colType) {
		this.colType = colType;
	}
	
}
